package com.erlang.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping(value = "customer")
public class CustomerController {

    /**
     * @Description 查看用户
     */
    @RequestMapping(value = "findCustomerById")
    public ModelAndView findCustomerById(String id){
       	ModelAndView modelAndView = new ModelAndView();
        modelAndView.addObject("content",id);
        modelAndView.setViewName("argument");
        return modelAndView;
    }
}